//
// Created by Cammy on 2024/4/26.
//

#include "Dequeue.c"

void Test_01(){
    Queue q;
    QueueInit(&q);

    QueuePush(&q,1);
    QueuePush(&q,2);
    QueuePush(&q,3);
    QueuePush(&q,4);

    while(!QueueEmpty(&q)){
        printf("%d ", QueueFront(&q));
        QueuePop(&q);
    }

    QueueDestroy(&q);
}

int main(){
    Test_01();
    return 0;
}
